
<?php foreach($this->arrProject as $key => $project): ?>
    <div class="box-content">
            <div class="box-content-top">
                <div class="title"><?php echo $project['type'];?></div>
                
                <?php if($this->go_back=='1')
                {
                    echo '<a href="javascript:history.go(-1)">';
                    echo '<img style="float:right;" src="/system/themes/anhduong/img/btn-quaylai_vn.jpg" width="73" height="31">'; 
                    echo '</a>';
                }else{
                    echo '<a href="index.php/all-project.html?type_id='.$project['type_id'].'">';
                    echo '<img style="float:right;" src="/system/themes/anhduong/img/btn-xemhet.jpg" width="73" height="31">';
                    echo '</a>';
                }?>
                
            </div>
            <div class="box-content-inside">
                <div class="box-content-inner">
                <div class="inner-border">
                <ul>
                    <?php foreach($project['projects'] as $k => $pro): ?>
                        <li>
                            <a href="index.php/detail.html?id=<?php echo $pro['id'];?>">
                            <img src="<?php echo $pro['singleSRC']; ?>" width="199" height="140"></a>
                            <a href="index.php/detail.html?id=<?php echo $pro['id'];?>"><?php echo $pro['title']; ?></a>
                        </li>
                    <?php endforeach; ?>
                </ul>
                </div>
                </div>
            </div>
    </div>
<?php endforeach; ?>
<?php echo $this->pagination; ?>